package com.chdwmp.product.service;

import com.chdwmp.product.bean.PageResult;
import com.chdwmp.product.bean.User;
import com.chdwmp.product.bean.UserListSearch;
import com.chdwmp.product.po.UserPo;
import com.chdwmp.product.vo.LoginUserVO;

/**
 * @Auther: LLL
 * @Date: 2021/3/6 15:10
 * @Description:
 */
public interface UserService {

    UserPo login(LoginUserVO userVO);

    void logout(String token);

    void addUser(User user);

    void updateUser(User user);

    PageResult getUserList(UserListSearch search);

    void deleteUser(String id);
}
